//设置弹性布局 列数
@col:3;

.fna-bar{
    // height:100%;
    // overflow: auto;
    .am-tab-bar{
        .am-tabs-tab-bar-wrap{
            position: fixed;
            bottom: 0;
            width: 100%;
            z-index: 100;
            background: #fff;
        }
    }
    .wm-list-page-item-row-span-text-highlight{
        width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

}

.fna-home{
    height: calc(~"100% - @{value_50}");
    overflow-y: auto;
    // padding-bottom: 60 * @hd;
    &-head{}
    &-body{
        .fna-home-content{
            width: 100%;
            background: #fff;
            margin: 0 auto;
            // box-shadow: 0px 10px 15px 5px rgba(0,0,0,0.1);

            position: relative;
            top: 0px;


            .multi-col-layouts{
                overflow: hidden;
                //报销流程   待办事项  单独提出来

                //修改无数据 样式
                .wm-list-page-modal-nodata{
                    .am-result{
                        padding-top: 10%;
                    }
                }
            }



        }
    }
}

// 报销流程
.fna-home-listPage{
    width: 100%;
    padding-bottom: 4px;
    .am-list-body{
        border-bottom: 0;
        .am-swipe-actions-right{//右侧滑动按钮高度对齐问题
            padding: 5px 0;
            background: #fff;
        }

        .wm-list-page-item{
            .am-list-item{
                padding-left: 0;
                .am-list-line{
                    border-bottom: 0;
                    padding-right: 0;
                    .am-list-content{
                        padding:0;
                        .fna-home-template{
                            overflow: hidden;
                            padding: 5px 0;
                            &-left{
                                border-left: 1px solid transparent;
                                float: left;
                                text-align: center;
                                color: #484A4D;
                                display: flex;
                                flex-direction: column;
                                justify-content: center;
                                align-items: center;
                                height: 83px;
                                @media screen and (max-width:370px){
                                    height: 103px;
                                } 
                                padding: 10px 8px 10px 12px;
                                box-shadow:0 1px 4px 0 rgba(142,142,142,0.23), 0px 0px 0px 0px #888, -1px 0px 4px 0px rgba(142,142,142,0.23), 0px 0px 0px 0px #888;
                                div:nth-child(1){
                                    width: 38px;
                                    height: 38px;
                                    // background: aqua;
                                    border-radius: 50%;
                                    svg{
                                        transform: translateY(7px);
                                    }

                                    
                                }
                                div:nth-child(2){
                                    width: 50px;  
                                    overflow: hidden; 
                                    text-overflow:ellipsis;
                                    white-space: wrap;
                                    max-height: 36px;
                                }
                                & > img{
                                    width: 38px ;
                                    height: 38px; 
                                }

                                &.have-border-lfet{
                                    border-left: 1px solid #EAEBF0;
                                }
                            };

                            &-middle{
                                float: left;
                                position: relative;
                                img{width: 100%;height: 100%;}
                                @media screen and (max-width:370px){
                                    height: 124px;
                                } 
                            }

                            &-right{
                                float: left;
                                width: calc(~'100% - 102px');
                                padding:10px 15px 10px 0;
                                height: 84px;
                                @media screen and (max-width:370px){
                                    height: 104px;
                                }                                                
                                box-shadow:
                                    0px -1px 4px 0 rgba(142,142,142,0.23),
                                    0px 0px 0px 0px #fff, 
                                    0px 1px 4px 0px rgba(142,142,142,0.23), 
                                    0px 0px 0px 0px #fff; 
                                & > div{
                                    width: calc(~'100% - 12px');
                                    overflow: hidden;
                                    padding-left: 12px;
                                    height: 100%;
                                    display: flex;
                                    justify-content: space-between;
                                    flex-direction: column;  

                                    //餐补类型 样式
                                    &.fna-home-foodSubsidy{
                                        div{
                                            p{
                                                float: left;
                                                margin: 0;
                                                
                                                span{
                                                    svg{
                                                        vertical-align: middle;
                                                        width: 13px;
                                                        height: 13px;
                                                        transform: translateY(-1px);
                                                        margin-right: 2px;
                                                    }
                                                }

                                                &:nth-child(2){
                                                    float: right;
                                                }
                                            }   
                                            
                                            &:nth-child(2){
                                                font-size: @word-fontSize-12;

                                                &.stay-two{
                                                    span{
                                                        svg{
                                                            vertical-align: middle;
                                                            width: 13px;
                                                            height: 13px;
                                                            transform: translateY(-1px);
                                                            margin-right: 2px;
                                                        }
                                                    }
                                                }
                                            }

                                            &:nth-child(3){
                                                text-align: right;
                                                font-size: @word-fontSize-20;
                                                // line-height: 18px;
                                                span{
                                                    font-size: @word-fontSize-12;
                                                    margin-right: 8px;
                                                }
                                            }                                                        

                                        }

                                        
                                    }

                                    //飞机类型 样式
                                    &.fna-home-air{
                                        div{
                                            height: 27px;
                                            &:nth-child(1){
                                                display: flex;
                                                overflow: hidden;
                                                white-space: nowrap;
                                            }
                                            p{
                                                margin: 0;
                                                height: 100%;
                                                display: flex;
                                                flex: 1 1 68%;
                                                margin-right: 2%;
                                                span{
                                                    flex: 0 0.5 auto;
                                                    svg{
                                                        vertical-align: middle;
                                                        width: 13px;
                                                        height: 13px;
                                                        transform: translateY(-1px);
                                                        margin-right: 2px;
                                                    }
                                                }

                                                div.arrive{
                                                    width: 60px;
                                                    height: 10px;
                                                    margin: 0 10px;
                                                    img{
                                                        width: 100%;
                                                        height: 100%;
                                                    }
                                                }
                                                
                                                
                                                &:nth-child(2){
                                                    text-align: right;
                                                    flex: 0 1 auto;
                                                    justify-content: flex-end;
                                                    margin-right: 0;
                                                }
                                            }   
                                            
                                            &:nth-child(2){
                                                font-size: @word-fontSize-12;

                                                &.stay-two{
                                                    span{
                                                        svg{
                                                            vertical-align: middle;
                                                            width: 13px;
                                                            height: 13px;
                                                            transform: translateY(-1px);
                                                            margin-right: 2px;
                                                        }
                                                    }
                                                }
                                            }

                                            &:nth-child(3){
                                                text-align: right;
                                                font-size: @word-fontSize-20;
                                                // line-height: 18px;
                                                span{
                                                    font-size: @word-fontSize-12;
                                                    margin-right: 8px;
                                                }
                                            }                                                        

                                        }

                                        
                                    }

                                    //交通类型 样式
                                    &.fna-home-traffic{
                                        div{
                                            height: 27px;
                                            flex-shrink:1;
                                            p{
                                                float: left;
                                                margin: 0;
                                                width: 65%;
                                                height: 100%;
                                                overflow: hidden;
                                                span{
                                                    float: left;
                                                    svg{
                                                        vertical-align: middle;
                                                        width: 13px;
                                                        height: 13px;
                                                        transform: translateY(-1px);
                                                        margin-right: 2px;
                                                    }
                                                }

                                                div.arrive{
                                                    float: left;
                                                    width: 60px;
                                                    height: 10px;
                                                    margin: 0 10px;
                                                    img{
                                                        width: 100%;
                                                        height: 100%;
                                                    }
                                                }
                                               
                                                
                                                &:nth-child(2){
                                                    float: right;
                                                    width: 35%;
                                                    text-align: right;
                                                }
                                            }   
                                            
                                            &:nth-child(2){
                                                font-size: @word-fontSize-12;

                                                &.stay-two{
                                                    span{
                                                        svg{
                                                            vertical-align: middle;
                                                            width: 13px;
                                                            height: 13px;
                                                            transform: translateY(-1px);
                                                            margin-right: 2px;
                                                        }

                                                        &.upTime,&.downTime{
                                                            display: inline-block;
                                                            width: 18px;
                                                            height: 18px;
                                                            text-align: center;
                                                            line-height: 18px;
                                                            color: #757575;
                                                            border-radius: 50%;
                                                            border:1px solid #757575;
                                                            margin: 0 2px 0 10px;
                                                            transform: scale(0.7)
                                                        }

                                                        &.detailTime{
                                                            color: #757575;
                                                        }

                                                        
                                                    }
                                                }
                                            }

                                            &:nth-child(3){
                                                text-align: right;
                                                font-size: @word-fontSize-20;
                                                // line-height: 18px;
                                                span{
                                                    font-size: @word-fontSize-12;
                                                    margin-right: 8px;
                                                }
                                            }                                                        

                                        }

                                        
                                    }


                                    //住宿  样式
                                    &.fna-home-stay{
                                        div{
                                            p{
                                                float: left;
                                                margin: 0;
                                                width: 65%;
                                                
                                                &:nth-child(2){
                                                    float: right;
                                                    width: 35%;
                                                    text-align: right;
                                                }
                                            }   
                                            
                                            &:nth-child(2){
                                                font-size: @word-fontSize-12;

                                                &.stay{
                                                    span{
                                                        svg{
                                                            vertical-align: middle;
                                                            width: 13px;
                                                            height: 13px;
                                                            transform: translateY(-1px);
                                                            margin-right: 2px;
                                                        }
                                                    }
                                                }
                                            }

                                            &:nth-child(3){
                                                text-align: right;
                                                font-size: @word-fontSize-20;
                                                // line-height: 18px;
                                                span{
                                                    font-size: @word-fontSize-12;
                                                    margin-right: 8px;
                                                }
                                            }                                                        

                                        }

                                        
                                    }


                                    







                                }
                                



                            }
                        }
                    }
                                                
                }
            }
        }
        
        
    }
}

// 待办事项
.fna-home-listPage-pending{
    padding-bottom: 0;
    .am-list-body{
        .am-list-line{
            border-bottom: 0;
            .fna-home-template-list{
                line-height: 22px;
                .fna-home-template-list-head{
                    overflow: hidden;
                    span{
                        float: left;
                        width: calc(~"100% - 80px");

                        &:nth-child(2){
                            float: right; 
                            width: 48px;
                            text-align: center;
                            border-radius: 10px;
                            font-size: @word-fontSize-12;
                            padding: 0 6px;
                            line-height: normal;                            
                        }
                    }

                    
                }

                .fna-home-template-list-detail{
                    color: #868686;
                }

                .last{
                    overflow: hidden;
                    .costBtn{
                        background: #F4FAFF;
                        border: 1px solid #55B1F9;
                        border-radius: 2px 0 0 2px;
                        height: 16px;
                        line-height: 16px;
                        color: #5DB4F9;
                        text-align: center;
                        font-size: 10 * @hd;
                        margin-top: 6px;
                        float: left;
                        max-width: 56%;
                        padding: 2px 4px;
                        white-space: nowrap;
                        text-overflow: ellipsis;
                        overflow: hidden;
                    }
                    .gay{
                        float: right;
                        width: 40%;
                        margin-top: 5px;
                        text-align: right;
                        &>span{
                            font-size: @word-fontSize-20;
                            color: #484A4D;
                        }
                    }
                }
                
            }
        }
        
        
        
    }
}


.plate_head_title{
    padding: 0 2px;
    background: #1A8BE9;
    margin-right: 10px;
    visibility:hidden;
    // vertical-align: middle;
}

.plate_head_con{
    line-height: 16px;
    font-size:16*@hd;
}

.plate_head_more{
    float: right;
    font-size:16*@hd;
    position: relative;
    span{
        position: absolute;
        width: 2*@word-fontSize-16;
        right: 30px;
        
    }
    svg{
        position: absolute;
        right: 10px;
        top: 11px;
        color: #A8A8A8;
    }    
}

.background_blue{
    background: #0E81DF;
    &.fan-big-icon{
        opacity: 1;
        .fna-flex-icon-item{
            .fna-flex-icon-item-icon{
                height: 39px;
                width: 38px;
                svg{
                    width: 100%;
                    height: 100%;
                }
            }
        }  
    }

    &.fan-small-icon{
        opacity: 0;
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 10;
        
        .fna-flex-icon-item{
            .fna-flex-icon-item-icon{
                // line-height: 42px;
                svg{
                    width: 100%;
                    height: 100%;
                }
            }
        }   
    }
    
    
}

